package com.benjaminwan.read.free.model.action

import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class Group @JvmOverloads constructor(
    val actions: List<Action> = emptyList(),
    val loopRange: IntRange = (1..1),
    val memo: String = ""
) {
    override fun toString(): String {
        return "循环:${loopRange}, 包含动作:${actions.size}"
    }
}